package com.itheima.health.service;

import com.itheima.health.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author spt
 * @description 预约设置SERVICE
 * @date 2019/9/29
 **/
public interface OrderSettingService {

    /**
     * 预约设置-上传
     * @param orderSettingList  封装日期和预约数量的集合对象
     */
    void addAll(List<OrderSetting> orderSettingList);

    /**
     * 预约展示
     * @param year
     * @param month
     * @return
     */
    List<Map<String,Object>> select(String year, String month);

    /**
     * 预约修改
     * @param orderSetting
     */
    void editNumber(OrderSetting orderSetting);

//    List<OrderSetting> selectOrderSetting(Integer year, Integer month);
//
//    void editNumberByDate(Date orderDate, int number);
}
